﻿using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Collections.Generic;
namespace WPFExcelReport
{
    public partial class VABPR
    {
        public readonly static VABPR Instance = new VABPR();
        public DataSet LOAD(Dictionary<string, object> pm)
        {
            TBMain.Clear();
            if (((string)pm["ORDERNUM"]).Length < 11)
                return null;
            dwData = TBMain.NewRow();
            dwData["ARMANDANT"] = app.Mandant;
            dwData["ARAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ARAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ARAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            SResult = QABPR01(dwData);
           
            return SResult;
        }
        public void NABPR(Dictionary<string, object> pm)
        { 
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData, null);
            dwData["ARAUFKRS"] = ((string)pm["ORDERNUM"]).Substring(0, 2);
            dwData["ARAUFLFD"] = ((string)pm["ORDERNUM"]).Substring(2, 6);
            dwData["ARAUFPOS"] = ((string)pm["ORDERNUM"]).Substring(8, 3);
            dwData["ARBESTKZ"] = " "; 
            Insert(dwData);
        }
        public void Insert(DataRow _dwAR)
        {
            try
            {
                _dwAR["ARAENDBEN"] = app.User;
                _dwAR["ARAENDDAT"] =  date;
                DeleteABPR(_dwAR, 1);
                InsertABPR(_dwAR, app.company);
                TBMain.Rows.InsertAt(_dwAR, 0); 
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }
    }
    public partial class VABPR
    {
        #region======ColumnSchema==========
        
                 public string ARMANDANT { get { if (dwMaster == null) return ""; return dwMaster["ARMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMANDANT"] = value; OnPropertyChanged("ARMANDANT", value); } } //lENGth 2
                 public string ARAUFKRS { get { if (dwMaster == null) return ""; return dwMaster["ARAUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAUFKRS"] = value; OnPropertyChanged("ARAUFKRS", value); } } //lENGth 2
                 public string ARAUFLFD { get { if (dwMaster == null) return ""; return dwMaster["ARAUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAUFLFD"] = value; OnPropertyChanged("ARAUFLFD", value); } } //lENGth 6
                 public string ARAUFPOS { get { if (dwMaster == null) return ""; return dwMaster["ARAUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAUFPOS"] = value; OnPropertyChanged("ARAUFPOS", value); } } //lENGth 3
                 public string ARAFOLGE { get { if (dwMaster == null) return ""; return dwMaster["ARAFOLGE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAFOLGE"] = value; OnPropertyChanged("ARAFOLGE", value); } } //lENGth 3
                 public string ARKZSPR { get { if (dwMaster == null) return ""; return dwMaster["ARKZSPR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARKZSPR"] = value; OnPropertyChanged("ARKZSPR", value); } } //lENGth 1
                 public string ARPNRKR { get { if (dwMaster == null) return ""; return dwMaster["ARPNRKR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARPNRKR"] = value; OnPropertyChanged("ARPNRKR", value); } } //lENGth 2
                 public string ARPLFDNR { get { if (dwMaster == null) return ""; return dwMaster["ARPLFDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARPLFDNR"] = value; OnPropertyChanged("ARPLFDNR", value); } } //lENGth 6
                 public string ARBESTKZ { get { if (dwMaster == null) return ""; return dwMaster["ARBESTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBESTKZ"] = value; OnPropertyChanged("ARBESTKZ", value); } } //lENGth 1
                 public string ARWPKZLT { get { if (dwMaster == null) return ""; return dwMaster["ARWPKZLT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARWPKZLT"] = value; OnPropertyChanged("ARWPKZLT", value); } } //lENGth 1
                 public double ARMENGE { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMENGE"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMENGE"] = value; OnPropertyChanged("ARMENGE", value); } } //lENGth 0
                 public string ARSTAFME { get { if (dwMaster == null) return ""; return dwMaster["ARSTAFME"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARSTAFME"] = value; OnPropertyChanged("ARSTAFME", value); } } //lENGth 1
                 public string ARGRUPPE { get { if (dwMaster == null) return ""; return dwMaster["ARGRUPPE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARGRUPPE"] = value; OnPropertyChanged("ARGRUPPE", value); } } //lENGth 1
                 public double ARWERT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARWERT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARWERT"] = value; OnPropertyChanged("ARWERT", value); } } //lENGth 0
                 public string ARMRKM1 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM1"] = value; OnPropertyChanged("ARMRKM1", value); } } //lENGth 4
                 public double ARMWERT1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT1"] = value; OnPropertyChanged("ARMWERT1", value); } } //lENGth 0
                 public string ARMKZPA1 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA1"] = value; OnPropertyChanged("ARMKZPA1", value); } } //lENGth 1
                 public string ARMME1 { get { if (dwMaster == null) return ""; return dwMaster["ARMME1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME1"] = value; OnPropertyChanged("ARMME1", value); } } //lENGth 1
                 public string ARMRKM2 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM2"] = value; OnPropertyChanged("ARMRKM2", value); } } //lENGth 4
                 public double ARMWERT2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT2"] = value; OnPropertyChanged("ARMWERT2", value); } } //lENGth 0
                 public string ARMKZPA2 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA2"] = value; OnPropertyChanged("ARMKZPA2", value); } } //lENGth 1
                 public string ARMME2 { get { if (dwMaster == null) return ""; return dwMaster["ARMME2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME2"] = value; OnPropertyChanged("ARMME2", value); } } //lENGth 1
                 public string ARMRKM3 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM3"] = value; OnPropertyChanged("ARMRKM3", value); } } //lENGth 4
                 public double ARMWERT3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT3"] = value; OnPropertyChanged("ARMWERT3", value); } } //lENGth 0
                 public string ARMKZPA3 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA3"] = value; OnPropertyChanged("ARMKZPA3", value); } } //lENGth 1
                 public string ARMME3 { get { if (dwMaster == null) return ""; return dwMaster["ARMME3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME3"] = value; OnPropertyChanged("ARMME3", value); } } //lENGth 1
                 public string ARMRKM4 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM4"] = value; OnPropertyChanged("ARMRKM4", value); } } //lENGth 4
                 public double ARMWERT4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT4"] = value; OnPropertyChanged("ARMWERT4", value); } } //lENGth 0
                 public string ARMKZPA4 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA4"] = value; OnPropertyChanged("ARMKZPA4", value); } } //lENGth 1
                 public string ARMME4 { get { if (dwMaster == null) return ""; return dwMaster["ARMME4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME4"] = value; OnPropertyChanged("ARMME4", value); } } //lENGth 1
                 public string ARMRKM5 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM5"] = value; OnPropertyChanged("ARMRKM5", value); } } //lENGth 4
                 public double ARMWERT5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT5"] = value; OnPropertyChanged("ARMWERT5", value); } } //lENGth 0
                 public string ARMKZPA5 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA5"] = value; OnPropertyChanged("ARMKZPA5", value); } } //lENGth 1
                 public string ARMME5 { get { if (dwMaster == null) return ""; return dwMaster["ARMME5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME5"] = value; OnPropertyChanged("ARMME5", value); } } //lENGth 1
                 public string ARMRKM6 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM6"] = value; OnPropertyChanged("ARMRKM6", value); } } //lENGth 4
                 public double ARMWERT6 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT6"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT6"] = value; OnPropertyChanged("ARMWERT6", value); } } //lENGth 0
                 public string ARMKZPA6 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA6"] = value; OnPropertyChanged("ARMKZPA6", value); } } //lENGth 1
                 public string ARMME6 { get { if (dwMaster == null) return ""; return dwMaster["ARMME6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME6"] = value; OnPropertyChanged("ARMME6", value); } } //lENGth 1
              /*     public string ARMRKM7 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM7"] = value; OnPropertyChanged("ARMRKM7", value); } } //lENGth 4
                 public double ARMWERT7 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT7"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT7"] = value; OnPropertyChanged("ARMWERT7", value); } } //lENGth 0
                 public string ARMKZPA7 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA7"] = value; OnPropertyChanged("ARMKZPA7", value); } } //lENGth 1
               public string ARMME7 { get { if (dwMaster == null) return ""; return dwMaster["ARMME7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME7"] = value; OnPropertyChanged("ARMME7", value); } } //lENGth 1
                 public string ARMRKM8 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM8"] = value; OnPropertyChanged("ARMRKM8", value); } } //lENGth 4
                 public double ARMWERT8 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT8"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT8"] = value; OnPropertyChanged("ARMWERT8", value); } } //lENGth 0
                 public string ARMKZPA8 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA8"] = value; OnPropertyChanged("ARMKZPA8", value); } } //lENGth 1
                 public string ARMME8 { get { if (dwMaster == null) return ""; return dwMaster["ARMME8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME8"] = value; OnPropertyChanged("ARMME8", value); } } //lENGth 1
                 public string ARMRKM9 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM9"] = value; OnPropertyChanged("ARMRKM9", value); } } //lENGth 4
                 public double ARMWERT9 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT9"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT9"] = value; OnPropertyChanged("ARMWERT9", value); } } //lENGth 0
                 public string ARMKZPA9 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA9"] = value; OnPropertyChanged("ARMKZPA9", value); } } //lENGth 1
                 public string ARMME9 { get { if (dwMaster == null) return ""; return dwMaster["ARMME9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME9"] = value; OnPropertyChanged("ARMME9", value); } } //lENGth 1
                 public string ARMRKM10 { get { if (dwMaster == null) return ""; return dwMaster["ARMRKM10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKM10"] = value; OnPropertyChanged("ARMRKM10", value); } } //lENGth 4
                 public double ARMWERT10 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERT10"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERT10"] = value; OnPropertyChanged("ARMWERT10", value); } } //lENGth 0
                 public string ARMKZPA10 { get { if (dwMaster == null) return ""; return dwMaster["ARMKZPA10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMKZPA10"] = value; OnPropertyChanged("ARMKZPA10", value); } } //lENGth 1
                 public string ARMME10 { get { if (dwMaster == null) return ""; return dwMaster["ARMME10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMME10"] = value; OnPropertyChanged("ARMME10", value); } } //lENGth 1
                 public string ARANFART1 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART1"] = value; OnPropertyChanged("ARANFART1", value); } } //lENGth 4
                 public double ARAWERT1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT1"] = value; OnPropertyChanged("ARAWERT1", value); } } //lENGth 0
                 public string ARAKZPA1 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA1"] = value; OnPropertyChanged("ARAKZPA1", value); } } //lENGth 1
                 public string ARAKZBP1 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP1"] = value; OnPropertyChanged("ARAKZBP1", value); } } //lENGth 1
                 public string ARAME1 { get { if (dwMaster == null) return ""; return dwMaster["ARAME1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME1"] = value; OnPropertyChanged("ARAME1", value); } } //lENGth 1
                 public string ARBEMKZ1 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ1"] = value; OnPropertyChanged("ARBEMKZ1", value); } } //lENGth 1
                 public string ARANFART2 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART2"] = value; OnPropertyChanged("ARANFART2", value); } } //lENGth 4
                 public double ARAWERT2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT2"] = value; OnPropertyChanged("ARAWERT2", value); } } //lENGth 0
                 public string ARAKZPA2 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA2"] = value; OnPropertyChanged("ARAKZPA2", value); } } //lENGth 1
                 public string ARAKZBP2 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP2"] = value; OnPropertyChanged("ARAKZBP2", value); } } //lENGth 1
                 public string ARAME2 { get { if (dwMaster == null) return ""; return dwMaster["ARAME2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME2"] = value; OnPropertyChanged("ARAME2", value); } } //lENGth 1
                 public string ARBEMKZ2 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ2"] = value; OnPropertyChanged("ARBEMKZ2", value); } } //lENGth 1
                 public string ARANFART3 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART3"] = value; OnPropertyChanged("ARANFART3", value); } } //lENGth 4
                 public double ARAWERT3 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT3"] = value; OnPropertyChanged("ARAWERT3", value); } } //lENGth 0
                 public string ARAKZPA3 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA3"] = value; OnPropertyChanged("ARAKZPA3", value); } } //lENGth 1
                 public string ARAKZBP3 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP3"] = value; OnPropertyChanged("ARAKZBP3", value); } } //lENGth 1
                 public string ARAME3 { get { if (dwMaster == null) return ""; return dwMaster["ARAME3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME3"] = value; OnPropertyChanged("ARAME3", value); } } //lENGth 1
                 public string ARBEMKZ3 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ3"] = value; OnPropertyChanged("ARBEMKZ3", value); } } //lENGth 1
                 public string ARANFART4 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART4"] = value; OnPropertyChanged("ARANFART4", value); } } //lENGth 4
                 public double ARAWERT4 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT4"] = value; OnPropertyChanged("ARAWERT4", value); } } //lENGth 0
                 public string ARAKZPA4 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA4"] = value; OnPropertyChanged("ARAKZPA4", value); } } //lENGth 1
                 public string ARAKZBP4 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP4"] = value; OnPropertyChanged("ARAKZBP4", value); } } //lENGth 1
                 public string ARAME4 { get { if (dwMaster == null) return ""; return dwMaster["ARAME4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME4"] = value; OnPropertyChanged("ARAME4", value); } } //lENGth 1
                 public string ARBEMKZ4 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ4"] = value; OnPropertyChanged("ARBEMKZ4", value); } } //lENGth 1
                 public string ARANFART5 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART5"] = value; OnPropertyChanged("ARANFART5", value); } } //lENGth 4
                 public double ARAWERT5 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT5"] = value; OnPropertyChanged("ARAWERT5", value); } } //lENGth 0
                 public string ARAKZPA5 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA5"] = value; OnPropertyChanged("ARAKZPA5", value); } } //lENGth 1
                 public string ARAKZBP5 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP5"] = value; OnPropertyChanged("ARAKZBP5", value); } } //lENGth 1
                 public string ARAME5 { get { if (dwMaster == null) return ""; return dwMaster["ARAME5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME5"] = value; OnPropertyChanged("ARAME5", value); } } //lENGth 1
                 public string ARBEMKZ5 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ5"] = value; OnPropertyChanged("ARBEMKZ5", value); } } //lENGth 1
                 public string ARANFART6 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART6"] = value; OnPropertyChanged("ARANFART6", value); } } //lENGth 4
                 public double ARAWERT6 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT6"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT6"] = value; OnPropertyChanged("ARAWERT6", value); } } //lENGth 0
                 public string ARAKZPA6 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA6"] = value; OnPropertyChanged("ARAKZPA6", value); } } //lENGth 1
                 public string ARAKZBP6 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP6"] = value; OnPropertyChanged("ARAKZBP6", value); } } //lENGth 1
                 public string ARAME6 { get { if (dwMaster == null) return ""; return dwMaster["ARAME6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME6"] = value; OnPropertyChanged("ARAME6", value); } } //lENGth 1
                 public string ARBEMKZ6 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ6"] = value; OnPropertyChanged("ARBEMKZ6", value); } } //lENGth 1
                 public string ARANFART7 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART7"] = value; OnPropertyChanged("ARANFART7", value); } } //lENGth 4
                 public double ARAWERT7 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT7"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT7"] = value; OnPropertyChanged("ARAWERT7", value); } } //lENGth 0
                 public string ARAKZPA7 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA7"] = value; OnPropertyChanged("ARAKZPA7", value); } } //lENGth 1
                 public string ARAKZBP7 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP7"] = value; OnPropertyChanged("ARAKZBP7", value); } } //lENGth 1
                 public string ARAME7 { get { if (dwMaster == null) return ""; return dwMaster["ARAME7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME7"] = value; OnPropertyChanged("ARAME7", value); } } //lENGth 1
                 public string ARBEMKZ7 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ7"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ7"] = value; OnPropertyChanged("ARBEMKZ7", value); } } //lENGth 1
                 public string ARANFART8 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART8"] = value; OnPropertyChanged("ARANFART8", value); } } //lENGth 4
                 public double ARAWERT8 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT8"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT8"] = value; OnPropertyChanged("ARAWERT8", value); } } //lENGth 0
                 public string ARAKZPA8 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA8"] = value; OnPropertyChanged("ARAKZPA8", value); } } //lENGth 1
                 public string ARAKZBP8 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP8"] = value; OnPropertyChanged("ARAKZBP8", value); } } //lENGth 1
                 public string ARAME8 { get { if (dwMaster == null) return ""; return dwMaster["ARAME8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME8"] = value; OnPropertyChanged("ARAME8", value); } } //lENGth 1
                 public string ARBEMKZ8 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ8"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ8"] = value; OnPropertyChanged("ARBEMKZ8", value); } } //lENGth 1
                 public string ARANFART9 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART9"] = value; OnPropertyChanged("ARANFART9", value); } } //lENGth 4
                 public double ARAWERT9 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT9"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT9"] = value; OnPropertyChanged("ARAWERT9", value); } } //lENGth 0
                 public string ARAKZPA9 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA9"] = value; OnPropertyChanged("ARAKZPA9", value); } } //lENGth 1
                 public string ARAKZBP9 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP9"] = value; OnPropertyChanged("ARAKZBP9", value); } } //lENGth 1
                 public string ARAME9 { get { if (dwMaster == null) return ""; return dwMaster["ARAME9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME9"] = value; OnPropertyChanged("ARAME9", value); } } //lENGth 1
                 public string ARBEMKZ9 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ9"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ9"] = value; OnPropertyChanged("ARBEMKZ9", value); } } //lENGth 1
                 public string ARANFART10 { get { if (dwMaster == null) return ""; return dwMaster["ARANFART10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARANFART10"] = value; OnPropertyChanged("ARANFART10", value); } } //lENGth 4
                 public double ARAWERT10 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAWERT10"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAWERT10"] = value; OnPropertyChanged("ARAWERT10", value); } } //lENGth 0
                 public string ARAKZPA10 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZPA10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZPA10"] = value; OnPropertyChanged("ARAKZPA10", value); } } //lENGth 1
                 public string ARAKZBP10 { get { if (dwMaster == null) return ""; return dwMaster["ARAKZBP10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAKZBP10"] = value; OnPropertyChanged("ARAKZBP10", value); } } //lENGth 1
                 public string ARAME10 { get { if (dwMaster == null) return ""; return dwMaster["ARAME10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAME10"] = value; OnPropertyChanged("ARAME10", value); } } //lENGth 1
                 public string ARBEMKZ10 { get { if (dwMaster == null) return ""; return dwMaster["ARBEMKZ10"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBEMKZ10"] = value; OnPropertyChanged("ARBEMKZ10", value); } } //lENGth 1
                 public double ARVALDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARVALDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARVALDAT"] = value; OnPropertyChanged("ARVALDAT", value); } } //lENGth 0
                 public string ARZAHLB { get { if (dwMaster == null) return ""; return dwMaster["ARZAHLB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARZAHLB"] = value; OnPropertyChanged("ARZAHLB", value); } } //lENGth 3
                 public string ARPAMABR { get { if (dwMaster == null) return ""; return dwMaster["ARPAMABR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARPAMABR"] = value; OnPropertyChanged("ARPAMABR", value); } } //lENGth 1
                 public string ARAUFWRT { get { if (dwMaster == null) return ""; return dwMaster["ARAUFWRT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAUFWRT"] = value; OnPropertyChanged("ARAUFWRT", value); } } //lENGth 11
                 public string ARBERBAS { get { if (dwMaster == null) return ""; return dwMaster["ARBERBAS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBERBAS"] = value; OnPropertyChanged("ARBERBAS", value); } } //lENGth 1
                 public string ARFKNVS { get { if (dwMaster == null) return ""; return dwMaster["ARFKNVS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARFKNVS"] = value; OnPropertyChanged("ARFKNVS", value); } } //lENGth 1
                 public double ARFKSPTD { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARFKSPTD"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARFKSPTD"] = value; OnPropertyChanged("ARFKSPTD", value); } } //lENGth 0
                 public double ARFKSPRD { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARFKSPRD"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARFKSPRD"] = value; OnPropertyChanged("ARFKSPRD", value); } } //lENGth 0
                 public string ARKSTTKZ { get { if (dwMaster == null) return ""; return dwMaster["ARKSTTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARKSTTKZ"] = value; OnPropertyChanged("ARKSTTKZ", value); } } //lENGth 1
                 public double ARMINMGE { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMINMGE"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMINMGE"] = value; OnPropertyChanged("ARMINMGE", value); } } //lENGth 0
                 public string ARMRKMP { get { if (dwMaster == null) return ""; return dwMaster["ARMRKMP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARMRKMP"] = value; OnPropertyChanged("ARMRKMP", value); } } //lENGth 4
                 public double ARMWERTP { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARMWERTP"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARMWERTP"] = value; OnPropertyChanged("ARMWERTP", value); } } //lENGth 0
                 public string ARRENR { get { if (dwMaster == null) return ""; return dwMaster["ARRENR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARRENR"] = value; OnPropertyChanged("ARRENR", value); } } //lENGth 8
                 public string ARREPOS { get { if (dwMaster == null) return ""; return dwMaster["ARREPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARREPOS"] = value; OnPropertyChanged("ARREPOS", value); } } //lENGth 3
                 public double ARRPREIS { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARRPREIS"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARRPREIS"] = value; OnPropertyChanged("ARRPREIS", value); } } //lENGth 0
                 public string ARDRZUSCHL { get { if (dwMaster == null) return ""; return dwMaster["ARDRZUSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARDRZUSCHL"] = value; OnPropertyChanged("ARDRZUSCHL", value); } } //lENGth 1
                 public string ARBERZUSATZ { get { if (dwMaster == null) return ""; return dwMaster["ARBERZUSATZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARBERZUSATZ"] = value; OnPropertyChanged("ARBERZUSATZ", value); } } //lENGth 1
                 public string ARFFAKKZ { get { if (dwMaster == null) return ""; return dwMaster["ARFFAKKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARFFAKKZ"] = value; OnPropertyChanged("ARFFAKKZ", value); } } //lENGth 1
                 public string ARWAEHRSL { get { if (dwMaster == null) return ""; return dwMaster["ARWAEHRSL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARWAEHRSL"] = value; OnPropertyChanged("ARWAEHRSL", value); } } //lENGth 3
                 public string ARNIXVV { get { if (dwMaster == null) return ""; return dwMaster["ARNIXVV"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARNIXVV"] = value; OnPropertyChanged("ARNIXVV", value); } } //lENGth 1
                 public double ARABRWERT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARABRWERT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARABRWERT"] = value; OnPropertyChanged("ARABRWERT", value); } } //lENGth 0
                 public string ARABRFAE { get { if (dwMaster == null) return ""; return dwMaster["ARABRFAE"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARABRFAE"] = value; OnPropertyChanged("ARABRFAE", value); } } //lENGth 1
                 public string ARKUNDNR { get { if (dwMaster == null) return ""; return dwMaster["ARKUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARKUNDNR"] = value; OnPropertyChanged("ARKUNDNR", value); } } //lENGth 8
                 public string ARLIEFNR { get { if (dwMaster == null) return ""; return dwMaster["ARLIEFNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARLIEFNR"] = value; OnPropertyChanged("ARLIEFNR", value); } } //lENGth 8
                 public string ARFILLER { get { if (dwMaster == null) return ""; return dwMaster["ARFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARFILLER"] = value; OnPropertyChanged("ARFILLER", value); } } //lENGth 46
                 public string ARAENDBEN { get { if (dwMaster == null) return ""; return dwMaster["ARAENDBEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["ARAENDBEN"] = value; OnPropertyChanged("ARAENDBEN", value); } } //lENGth 8
                 public double ARAENDDAT { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ARAENDDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["ARAENDDAT"] = value; OnPropertyChanged("ARAENDDAT", value); } } //lENGth 0
        */
        #endregion
    }
}
